package club.menglinking.wechat.restservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

import java.util.Map;

/**
 * @User: Jrxsr
 * Rest
 * on 2018/12/10.
 **/
public interface Rest {

    Object restget(String url, Class clazz);
    Object restget(String url, Class clazz, Object map);
    Object restpost(String url, Object obj, Class clazz);
    Object restput(String url, Object obj);
    Object restdelete(String url, Object obj);
}
